<nz-modal [(nzVisible)]="isVisible" nzTitle="重置用户密码" (nzOnCancel)="closeModal()" [nzFooter]="modalFooter">
    <table class="info-box" cellspacing="0">
        <tr>
            <td class="label-td">用户名</td>
            <td class="input-td">
                <input nz-input [value]="userInfo.username" disabled>
            </td>
        </tr>
        <tr>
            <td class="label-td">新密码</td>
            <td class="input-td">
                <input nz-input type="password" [(ngModel)]="newPassword" placeholder="请输入新密码">
            </td>
        </tr>
    </table>
    <ng-template #modalFooter>
        <button nz-button nzType="default" (click)="closeModal()">取消</button>
        <button nz-button nzType="primary" (click)="submit()" [nzLoading]="submitLoading">确认
        </button>
    </ng-template>
</nz-modal>
